//
//  RequestManager.h
//  Leisure
//
//  Created by xalo on 16/6/28.
//  Copyright © 2016年 Eason. All rights reserved.
//

#import <Foundation/Foundation.h>
//请求完成之后将Data输出
typedef void (^ReauqestCompeleted)(NSData *data);
//请求结束刷新UI
typedef void (^UpdateUI)();

@interface RequestManager : NSObject

+(void)fectDataWithUrl:(NSString *)url parameter:(NSDictionary *)dic method:(NSString *)method compelet:(ReauqestCompeleted)compele upDateUI:(UpdateUI)update;


@end
